<template>
    <div class="lnrzyyjkfw">
      <p class="top">
        <span style="font-weight: 700; font-size: 16px; color: #000">{{ info.residentName }}</span>
        <span style="display: inline-block; margin: 0 20px"
          >证件号：{{ info.idNo }}</span
        >
        <span>填表人：{{info.createUserId}}</span>
      </p>
      <div class="tab1">
        <table border="1" cellspacing="0" style="width: 100%">
          <tr>
            <th colspan="7" style="padding: 15px">
              <span style="font-weight: 900; font-size: 22px; color: #000"
                >老年人中医药健康服务</span
              >
            </th>
          </tr>
          <tr>
            <th>
              请根据最近一年的体验和感觉 <br />
              回答以下问题
            </th>
            <th>
              没有<br />
              (根本不/从来没有)
            </th>
            <th>
              很少<br />
              (有一点/偶尔)
            </th>
            <th>
              有时<br />
              (有些/少数时间)
            </th>
            <th>
              经常<br />
              (相当/多数时间)
            </th>
            <th>
              总是<br />
              (非常/每天)
            </th>
            <th>判断评分</th>
          </tr>
          <tr>
            <td>（1）您精力充沛吗？（指精神头足，乐于做事）</td>
            <td><el-radio v-model="info.a" label="1" value="1">1</el-radio></td>
            <td><el-radio v-model="info.a" label="2" value="2">2</el-radio></td>
            <td><el-radio v-model="info.a" label="3" value="3">3</el-radio></td>
            <td><el-radio v-model="info.a" label="4" value="4">4</el-radio></td>
            <td><el-radio v-model="info.a" label="5" value="5">5</el-radio></td>
            <td>
              <el-input type="number" v-model="info.a" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>
              （2）您容易疲乏吗？（指体力如何，是否稍微活动一下或做一点家务劳动
              就感到累）
            </td>
            <td><el-radio v-model="info.b" label="1" value="1">1</el-radio></td>
            <td><el-radio v-model="info.b" label="2" value="2">2</el-radio></td>
            <td><el-radio v-model="info.b" label="3" value="3">3</el-radio></td>
            <td><el-radio v-model="info.b" label="4" value="4">4</el-radio></td>
            <td><el-radio v-model="info.b" label="5" value="5">5</el-radio></td>
            <td>
              <el-input type="number" v-model="info.b" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>（3）您容易气短，呼吸短促，接不上气吗？</td>
            <td><el-radio v-model="info.c" label="1" value="1">1</el-radio></td>
            <td><el-radio v-model="info.c" label="2" value="2">2</el-radio></td>
            <td><el-radio v-model="info.c" label="3" value="3">3</el-radio></td>
            <td><el-radio v-model="info.c" label="4" value="4">4</el-radio></td>
            <td><el-radio v-model="info.c" label="5" value="5">5</el-radio></td>
            <td>
              <el-input type="number" v-model="info.c" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>（4）您说话声音低弱无力吗?（指说话没有力气）</td>
            <td><el-radio v-model="info.d" label="1" value="1">1</el-radio></td>
            <td><el-radio v-model="info.d" label="2" value="2">2</el-radio></td>
            <td><el-radio v-model="info.d" label="3" value="3">3</el-radio></td>
            <td><el-radio v-model="info.d" label="4" value="4">4</el-radio></td>
            <td><el-radio v-model="info.d" label="5" value="5">5</el-radio></td>
            <td>
              <el-input type="number" v-model="info.d" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>（5）您感到闷闷不乐、情绪低沉吗?（指心情不愉快，情绪低落）</td>
            <td><el-radio v-model="info.e" label="1" value="1">1</el-radio></td>
            <td><el-radio v-model="info.e" label="2" value="2">2</el-radio></td>
            <td><el-radio v-model="info.e" label="3" value="3">3</el-radio></td>
            <td><el-radio v-model="info.e" label="4" value="4">4</el-radio></td>
            <td><el-radio v-model="info.e" label="5" value="5">5</el-radio></td>
            <td>
              <el-input type="number" v-model="info.e" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>（6）您容易精神紧张、焦虑不安吗?（指遇事是否心情紧张）</td>
            <td><el-radio v-model="info.f" label="1" value="1">1</el-radio></td>
            <td><el-radio v-model="info.f" label="2" value="2">2</el-radio></td>
            <td><el-radio v-model="info.f" label="3" value="3">3</el-radio></td>
            <td><el-radio v-model="info.f" label="4" value="4">4</el-radio></td>
            <td><el-radio v-model="info.f" label="5" value="5">5</el-radio></td>
            <td>
              <el-input type="number" v-model="info.f" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>（7）您因为生活状态改变而感到孤独、失落吗？</td>
            <td><el-radio v-model="info.h" label="1" value="1">1</el-radio></td>
            <td><el-radio v-model="info.h" label="2" value="2">2</el-radio></td>
            <td><el-radio v-model="info.h" label="3" value="3">3</el-radio></td>
            <td><el-radio v-model="info.h" label="4" value="4">4</el-radio></td>
            <td><el-radio v-model="info.h" label="5" value="5">5</el-radio></td>
            <td>
              <el-input type="number" v-model="info.h" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>（8）您容易感到害怕或受到惊吓吗?</td>
            <td><el-radio v-model="info.i" label="1" value="1">1</el-radio></td>
            <td><el-radio v-model="info.i" label="2" value="2">2</el-radio></td>
            <td><el-radio v-model="info.i" label="3" value="3">3</el-radio></td>
            <td><el-radio v-model="info.i" label="4" value="4">4</el-radio></td>
            <td><el-radio v-model="info.i" label="5" value="5">5</el-radio></td>
            <td>
              <el-input type="number" v-model="info.i" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>
              （9）您感到身体超重不轻松吗?(感觉身体沉重)[BMI 指数=体重（kg）/身高
              2 （m）]
            </td>
            <td>
              <el-radio v-model="info.j" label="1" value="1">1(BMI＜24)</el-radio>
            </td>
            <td>
              <el-radio v-model="info.j" label="2" value="2"
                >2(24≤BMI＜25)</el-radio
              >
            </td>
            <td>
              <el-radio v-model="info.j" label="3" value="3"
                >3(25≤BMI＜26)</el-radio
              >
            </td>
            <td>
              <el-radio v-model="info.j" label="4" value="4"
                >4(26≤BMI＜28)</el-radio
              >
            </td>
            <td>
              <el-radio v-model="info.j" label="5" value="5">5(BMI≥28)</el-radio>
            </td>
            <td>
              <el-input type="number" v-model="info.j" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>（10）您眼睛干涩吗?</td>
            <td><el-radio v-model="info.k" label="1" value="1">1</el-radio></td>
            <td><el-radio v-model="info.k" label="2" value="2">2</el-radio></td>
            <td><el-radio v-model="info.k" label="3" value="3">3</el-radio></td>
            <td><el-radio v-model="info.k" label="4" value="4">4</el-radio></td>
            <td><el-radio v-model="info.k" label="5" value="5">5</el-radio></td>
            <td>
              <el-input type="number" v-model="info.k" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>
              （11）您手脚发凉吗?（不包含因周围温度低或穿的少导致的手脚发冷）
            </td>
            <td><el-radio v-model="info.a11" label="1" value="1">1</el-radio></td>
            <td><el-radio v-model="info.a11" label="2" value="2">2</el-radio></td>
            <td><el-radio v-model="info.a11" label="3" value="3">3</el-radio></td>
            <td><el-radio v-model="info.a11" label="4" value="4">4</el-radio></td>
            <td><el-radio v-model="info.a11" label="5" value="5">5</el-radio></td>
            <td>
              <el-input type="number" v-model="info.a11" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>
              （12）您胃脘部、背部或腰膝部怕冷吗？（指上腹部、背部、腰部或膝关
              节等，有一处或多处怕冷）
            </td>
            <td><el-radio v-model="info.a12" label="1" value="1">1</el-radio></td>
            <td><el-radio v-model="info.a12" label="2" value="2">2</el-radio></td>
            <td><el-radio v-model="info.a12" label="3" value="3">3</el-radio></td>
            <td><el-radio v-model="info.a12" label="4" value="4">4</el-radio></td>
            <td><el-radio v-model="info.a12" label="5" value="5">5</el-radio></td>
            <td>
              <el-input type="number" v-model="info.a12" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>
              （13）您比一般人耐受不了寒冷吗？（指比别人容易害怕冬天或是夏天的
              冷空调、电扇等）
            </td>
            <td><el-radio v-model="info.a13" label="1" value="1">1</el-radio></td>
            <td><el-radio v-model="info.a13" label="2" value="2">2</el-radio></td>
            <td><el-radio v-model="info.a13" label="3" value="3">3</el-radio></td>
            <td><el-radio v-model="info.a13" label="4" value="4">4</el-radio></td>
            <td><el-radio v-model="info.a13" label="5" value="5">5</el-radio></td>
            <td>
              <el-input type="number" v-model="info.a13" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>（14）您容易患感冒吗?（指每年感冒的次数）</td>
            <td>
              <el-radio v-model="info.a14" label="1" value="1"
                >1(一年＜2次)</el-radio
              >
            </td>
            <td>
              <el-radio v-model="info.a14" label="2" value="2"
                >2(一年感冒2-4次)</el-radio
              >
            </td>
            <td>
              <el-radio v-model="info.a14" label="3" value="3"
                >3(一年感冒5-6次)</el-radio
              >
            </td>
            <td>
              <el-radio v-model="info.a14" label="4" value="4"
                >4(一年 8 次以上)</el-radio
              >
            </td>
            <td>
              <el-radio v-model="info.a14" label="5" value="5"
                >5(几乎每月)</el-radio
              >
            </td>
            <td>
              <el-input type="number" v-model="info.a14" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>（15）您没有感冒时也会鼻塞、流鼻涕吗?</td>
            <td><el-radio v-model="info.a15" label="1" value="1">1</el-radio></td>
            <td><el-radio v-model="info.a15" label="2" value="2">2</el-radio></td>
            <td><el-radio v-model="info.a15" label="3" value="3">3</el-radio></td>
            <td><el-radio v-model="info.a15" label="4" value="4">4</el-radio></td>
            <td><el-radio v-model="info.a15" label="5" value="5">5</el-radio></td>
            <td>
              <el-input type="number" v-model="info.a15" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>（16）您有口粘口腻，或睡眠打鼾吗？</td>
            <td><el-radio v-model="info.a16" label="1" value="1">1</el-radio></td>
            <td><el-radio v-model="info.a16" label="2" value="2">2</el-radio></td>
            <td><el-radio v-model="info.a16" label="3" value="3">3</el-radio></td>
            <td><el-radio v-model="info.a16" label="4" value="4">4</el-radio></td>
            <td><el-radio v-model="info.a16" label="5" value="5">5</el-radio></td>
            <td>
              <el-input type="number" v-model="info.a16" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>
              （17）您容易过敏(对药物、食物、气味、花粉或在季节交替、气候变化时)
              吗?
            </td>
            <td>
              <el-radio v-model="info.a17" label="1" value="1"
                >1(从来没有)</el-radio
              >
            </td>
            <td>
              <el-radio v-model="info.a17" label="2" value="2"
                >2(一年 1、2 次)</el-radio
              >
            </td>
            <td>
              <el-radio v-model="info.a17" label="3" value="3"
                >3(一年 3、4 次)</el-radio
              >
            </td>
            <td>
              <el-radio v-model="info.a17" label="4" value="4"
                >4(一年 5、6 次)</el-radio
              >
            </td>
            <td>
              <el-radio v-model="info.a17" label="5" value="5"
                >5(每次遇到上述原因都过敏)</el-radio
              >
            </td>
            <td>
              <el-input type="number" v-model="info.a17" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>（18）您的皮肤容易起荨麻疹吗? (包括风团、风疹块、风疙瘩)</td>
            <td><el-radio v-model="info.a18" label="1" value="1">1</el-radio></td>
            <td><el-radio v-model="info.a18" label="2" value="2">2</el-radio></td>
            <td><el-radio v-model="info.a18" label="3" value="3">3</el-radio></td>
            <td><el-radio v-model="info.a18" label="4" value="4">4</el-radio></td>
            <td><el-radio v-model="info.a18" label="5" value="5">5</el-radio></td>
            <td>
              <el-input type="number" v-model="info.a18" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>
              （19）您的皮肤在不知不觉中会出现青紫瘀斑、皮下出血吗?（指皮肤在没
              有外伤的情况下出现青一块紫一块的情况）
            </td>
            <td><el-radio v-model="info.a19" label="1" value="1">1</el-radio></td>
            <td><el-radio v-model="info.a19" label="2" value="2">2</el-radio></td>
            <td><el-radio v-model="info.a19" label="3" value="3">3</el-radio></td>
            <td><el-radio v-model="info.a19" label="4" value="4">4</el-radio></td>
            <td><el-radio v-model="info.a19" label="5" value="5">5</el-radio></td>
            <td>
              <el-input type="number" v-model="info.a19" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>
              （20）您的皮肤一抓就红，并出现抓痕吗?（指被指甲或钝物划过后皮肤的反应）
            </td>
            <td><el-radio v-model="info.a20" label="1" value="1">1</el-radio></td>
            <td><el-radio v-model="info.a20" label="2" value="2">2</el-radio></td>
            <td><el-radio v-model="info.a20" label="3" value="3">3</el-radio></td>
            <td><el-radio v-model="info.a20" label="4" value="4">4</el-radio></td>
            <td><el-radio v-model="info.a20" label="5" value="5">5</el-radio></td>
            <td>
              <el-input type="number" v-model="info.a20" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>（21）您皮肤或口唇干吗?</td>
            <td><el-radio v-model="info.a21" label="1" value="1">1</el-radio></td>
            <td><el-radio v-model="info.a21" label="2" value="2">2</el-radio></td>
            <td><el-radio v-model="info.a21" label="3" value="3">3</el-radio></td>
            <td><el-radio v-model="info.a21" label="4" value="4">4</el-radio></td>
            <td><el-radio v-model="info.a21" label="5" value="5">5</el-radio></td>
            <td>
              <el-input type="number" v-model="info.a21" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>（22）您有肢体麻木或固定部位疼痛的感觉吗？</td>
            <td><el-radio v-model="info.a22" label="1" value="1">1</el-radio></td>
            <td><el-radio v-model="info.a22" label="2" value="2">2</el-radio></td>
            <td><el-radio v-model="info.a22" label="3" value="3">3</el-radio></td>
            <td><el-radio v-model="info.a22" label="4" value="4">4</el-radio></td>
            <td><el-radio v-model="info.a22" label="5" value="5">5</el-radio></td>
            <td>
              <el-input type="number" v-model="info.a22" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>（23）您面部或鼻部有油腻感或者油亮发光吗?（指脸上或鼻子）</td>
            <td><el-radio v-model="info.a23" label="1" value="1">1</el-radio></td>
            <td><el-radio v-model="info.a23" label="2" value="2">2</el-radio></td>
            <td><el-radio v-model="info.a23" label="3" value="3">3</el-radio></td>
            <td><el-radio v-model="info.a23" label="4" value="4">4</el-radio></td>
            <td><el-radio v-model="info.a23" label="5" value="5">5</el-radio></td>
            <td>
              <el-input type="number" v-model="info.a23" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>（24）您面色或目眶晦黯，或出现褐色斑块/斑点吗?</td>
            <td><el-radio v-model="info.a24" label="1" value="1">1</el-radio></td>
            <td><el-radio v-model="info.a24" label="2" value="2">2</el-radio></td>
            <td><el-radio v-model="info.a24" label="3" value="3">3</el-radio></td>
            <td><el-radio v-model="info.a24" label="4" value="4">4</el-radio></td>
            <td><el-radio v-model="info.a24" label="5" value="5">5</el-radio></td>
            <td>
              <el-input type="number" v-model="info.a24" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>（25）您有皮肤湿疹、疮疖吗？</td>
            <td><el-radio v-model="info.a25" label="1" value="1">1</el-radio></td>
            <td><el-radio v-model="info.a25" label="2" value="2">2</el-radio></td>
            <td><el-radio v-model="info.a25" label="3" value="3">3</el-radio></td>
            <td><el-radio v-model="info.a25" label="4" value="4">4</el-radio></td>
            <td><el-radio v-model="info.a25" label="5" value="5">5</el-radio></td>
            <td>
              <el-input type="number" v-model="info.a25" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>（26）您感到口干咽燥、总想喝水吗？</td>
            <td><el-radio v-model="info.a26" label="1" value="1">1</el-radio></td>
            <td><el-radio v-model="info.a26" label="2" value="2">2</el-radio></td>
            <td><el-radio v-model="info.a26" label="3" value="3">3</el-radio></td>
            <td><el-radio v-model="info.a26" label="4" value="4">4</el-radio></td>
            <td><el-radio v-model="info.a26" label="5" value="5">5</el-radio></td>
            <td>
              <el-input type="number" v-model="info.a26" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>（27）您感到口苦或嘴里有异味吗?（指口苦或口臭）</td>
            <td><el-radio v-model="info.a27" label="1" value="1">1</el-radio></td>
            <td><el-radio v-model="info.a27" label="2" value="2">2</el-radio></td>
            <td><el-radio v-model="info.a27" label="3" value="3">3</el-radio></td>
            <td><el-radio v-model="info.a27" label="4" value="4">4</el-radio></td>
            <td><el-radio v-model="info.a27" label="5" value="5">5</el-radio></td>
            <td>
              <el-input type="number" v-model="info.a27" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>（28）您腹部肥大吗?（指腹部脂肪肥厚）</td>
            <td>
              <el-radio v-model="info.a28" label="1" value="1"
                >1(腹围＜80cm，相当于 2.4 尺)</el-radio
              >
            </td>
            <td>
              <el-radio v-model="info.a28" label="2" value="2"
                >2(腹围 80-85cm，2.4-2.55 尺)</el-radio
              >
            </td>
            <td>
              <el-radio v-model="info.a28" label="3" value="3"
                >3(腹围 86-90cm，2.56-2.7 尺)</el-radio
              >
            </td>
            <td>
              <el-radio v-model="info.a28" label="4" value="4"
                >4(腹围91-105cm，2.71-3.15 尺)</el-radio
              >
            </td>
            <td>
              <el-radio v-model="info.a28" label="5" value="5"
                >5(腹围＞105cm或3.15尺)</el-radio
              >
            </td>
            <td>
              <el-input type="number" v-model="info.a28" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>
              （29）您吃(喝)凉的东西会感到不舒服或者怕吃(喝)凉的东西吗？（指不喜
              欢吃凉的食物，或吃了凉的食物后会不舒服）
            </td>
            <td><el-radio v-model="info.a29" label="1" value="1">1</el-radio></td>
            <td><el-radio v-model="info.a29" label="2" value="2">2</el-radio></td>
            <td><el-radio v-model="info.a29" label="3" value="3">3</el-radio></td>
            <td><el-radio v-model="info.a29" label="4" value="4">4</el-radio></td>
            <td><el-radio v-model="info.a29" label="5" value="5">5</el-radio></td>
            <td>
              <el-input type="number" v-model="info.a29" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>
              （30）您有大便黏滞不爽、解不尽的感觉吗?(大便容易粘在马桶或便坑壁 上)
            </td>
            <td><el-radio v-model="info.a30" label="1" value="1">1</el-radio></td>
            <td><el-radio v-model="info.a30" label="2" value="2">2</el-radio></td>
            <td><el-radio v-model="info.a30" label="3" value="3">3</el-radio></td>
            <td><el-radio v-model="info.a30" label="4" value="4">4</el-radio></td>
            <td><el-radio v-model="info.a30" label="5" value="5">5</el-radio></td>
            <td>
              <el-input type="number" v-model="info.a30" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>（31）您容易大便干燥吗?</td>
            <td><el-radio v-model="info.a31" label="1" value="1">1</el-radio></td>
            <td><el-radio v-model="info.a31" label="2" value="2">2</el-radio></td>
            <td><el-radio v-model="info.a31" label="3" value="3">3</el-radio></td>
            <td><el-radio v-model="info.a31" label="4" value="4">4</el-radio></td>
            <td><el-radio v-model="info.a31" label="5" value="5">5</el-radio></td>
            <td>
              <el-input type="number" v-model="info.a31" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>
              （32）您舌苔厚腻或有舌苔厚厚的感觉吗?（如果自我感觉不清楚可由调查
              员观察后填写）
            </td>
            <td><el-radio v-model="info.a32" label="1" value="1">1</el-radio></td>
            <td><el-radio v-model="info.a32" label="2" value="2">2</el-radio></td>
            <td><el-radio v-model="info.a32" label="3" value="3">3</el-radio></td>
            <td><el-radio v-model="info.a32" label="4" value="4">4</el-radio></td>
            <td><el-radio v-model="info.a32" label="5" value="5">5</el-radio></td>
            <td>
              <el-input type="number" v-model="info.a32" size="small"></el-input>
            </td>
          </tr>
          <tr>
            <td>（33）您舌下静脉瘀紫或增粗吗？（可由调查员辅助观察后填写）</td>
            <td><el-radio v-model="info.a33" label="1" value="1">1</el-radio></td>
            <td><el-radio v-model="info.a33" label="2" value="2">2</el-radio></td>
            <td><el-radio v-model="info.a33" label="3" value="3">3</el-radio></td>
            <td><el-radio v-model="info.a33" label="4" value="4">4</el-radio></td>
            <td><el-radio v-model="info.a33" label="5" value="5">5</el-radio></td>
            <td>
              <el-input type="number" v-model="info.a33" size="small"></el-input>
            </td>
          </tr>
        </table>
        <table border="1" cellspacing="0" style="width: 100%; margin-top: 20px">
          <tr>
            <th>体质类型</th>
            <th>气虚质</th>
            <th>阳虚质</th>
            <th>阴虚质</th>
            <th>痰湿质</th>
            <th>湿热质</th>
            <th>血瘀质</th>
            <th>气郁质</th>
            <th>特禀质</th>
            <th>平和质</th>
          </tr>
          <tr style="text-align: center">
            <th>体质辨识得分</th>
            <td>8</td>
            <td>4</td>
            <td>4</td>
            <td>12</td>
            <td>4</td>
            <td>12</td>
            <td>4</td>
            <td>8</td>
            <td>24</td>
          </tr>
          <tr style="text-align: center">
            <th>体质辨识结果</th>
            <td>否</td>
            <td>否</td>
            <td>否</td>
            <td>是</td>
            <td>否</td>
            <td>是</td>
            <td>否</td>
            <td>否</td>
            <td>否</td>
          </tr>
          <tr>
            <th rowspan="6">中医药保健指导</th>
            <td><el-checkbox v-model="info.b1">情志调摄</el-checkbox></td>
            <td><el-checkbox v-model="info.b2">情志调摄</el-checkbox></td>
            <td><el-checkbox v-model="info.b3">情志调摄</el-checkbox></td>
            <td><el-checkbox v-model="info.b4">情志调摄</el-checkbox></td>
            <td><el-checkbox v-model="info.b5">情志调摄</el-checkbox></td>
            <td><el-checkbox v-model="info.b6">情志调摄</el-checkbox></td>
            <td><el-checkbox v-model="info.b7">情志调摄</el-checkbox></td>
            <td><el-checkbox v-model="info.b8">情志调摄</el-checkbox></td>
            <td><el-checkbox v-model="info.b9">情志调摄</el-checkbox></td>
          </tr>
          <tr>
            <td><el-checkbox v-model="info.c1">饮食调养</el-checkbox></td>
            <td><el-checkbox v-model="info.c2">饮食调养</el-checkbox></td>
            <td><el-checkbox v-model="info.c3">饮食调养</el-checkbox></td>
            <td><el-checkbox v-model="info.c4">饮食调养</el-checkbox></td>
            <td><el-checkbox v-model="info.c5">饮食调养</el-checkbox></td>
            <td><el-checkbox v-model="info.c6">饮食调养</el-checkbox></td>
            <td><el-checkbox v-model="info.c7">饮食调养</el-checkbox></td>
            <td><el-checkbox v-model="info.c8">饮食调养</el-checkbox></td>
            <td><el-checkbox v-model="info.c9">饮食调养</el-checkbox></td>
          </tr>
          <tr>
            <td><el-checkbox v-model="info.d1">起居调摄</el-checkbox></td>
            <td><el-checkbox v-model="info.d2">起居调摄</el-checkbox></td>
            <td><el-checkbox v-model="info.d3">起居调摄</el-checkbox></td>
            <td><el-checkbox v-model="info.d4">起居调摄</el-checkbox></td>
            <td><el-checkbox v-model="info.d5">起居调摄</el-checkbox></td>
            <td><el-checkbox v-model="info.d6">起居调摄</el-checkbox></td>
            <td><el-checkbox v-model="info.d7">起居调摄</el-checkbox></td>
            <td><el-checkbox v-model="info.d8">起居调摄</el-checkbox></td>
            <td><el-checkbox v-model="info.d9">起居调摄</el-checkbox></td>
          </tr>
          <tr>
            <td><el-checkbox v-model="info.e1">运动保健</el-checkbox></td>
            <td><el-checkbox v-model="info.e2">运动保健</el-checkbox></td>
            <td><el-checkbox v-model="info.e3">运动保健</el-checkbox></td>
            <td><el-checkbox v-model="info.e4">运动保健</el-checkbox></td>
            <td><el-checkbox v-model="info.e5">运动保健</el-checkbox></td>
            <td><el-checkbox v-model="info.e6">运动保健</el-checkbox></td>
            <td><el-checkbox v-model="info.e7">运动保健</el-checkbox></td>
            <td><el-checkbox v-model="info.e8">运动保健</el-checkbox></td>
            <td><el-checkbox v-model="info.e9">运动保健</el-checkbox></td>
          </tr>
          <tr>
            <td><el-checkbox v-model="info.f1">穴位保健</el-checkbox></td>
            <td><el-checkbox v-model="info.f2">穴位保健</el-checkbox></td>
            <td><el-checkbox v-model="info.f3">穴位保健</el-checkbox></td>
            <td><el-checkbox v-model="info.f4">穴位保健</el-checkbox></td>
            <td><el-checkbox v-model="info.f5">穴位保健</el-checkbox></td>
            <td><el-checkbox v-model="info.f6">穴位保健</el-checkbox></td>
            <td><el-checkbox v-model="info.f7">穴位保健</el-checkbox></td>
            <td><el-checkbox v-model="info.f8">穴位保健</el-checkbox></td>
            <td><el-checkbox v-model="info.f9">穴位保健</el-checkbox></td>
          </tr>
          <tr>
            <td>
              <el-checkbox v-model="info.g1" value="其他">其他</el-checkbox>
              <br />
              <el-input size="small" v-if="info.g1" v-model="info.h1"></el-input>
            </td>
            <td>
              <el-checkbox v-model="info.g2" value="其他">其他</el-checkbox>
              <br />
              <el-input size="small" v-if="info.g2" v-model="info.h2"></el-input>
            </td>
            <td>
              <el-checkbox v-model="info.g3" value="其他">其他</el-checkbox>
              <br />
              <el-input size="small" v-if="info.g3" v-model="info.h3"></el-input>
            </td>
            <td>
              <el-checkbox v-model="info.g4" value="其他">其他</el-checkbox>
              <br />
              <el-input size="small" v-if="info.g4" v-model="info.h4"></el-input>
            </td>
            <td>
              <el-checkbox v-model="info.g5" value="其他">其他</el-checkbox>
              <br />
              <el-input size="small" v-if="info.g5" v-model="info.h5"></el-input>
            </td>
            <td>
              <el-checkbox v-model="info.g6" value="其他">其他</el-checkbox>
              <br />
              <el-input size="small" v-if="info.g6" v-model="info.h6"></el-input>
            </td>
            <td>
              <el-checkbox v-model="info.g7" value="其他">其他</el-checkbox>
              <br />
              <el-input size="small" v-if="info.g7" v-model="info.h7"></el-input>
            </td>
            <td>
              <el-checkbox v-model="info.g8" value="其他">其他</el-checkbox>
              <br />
              <el-input size="small" v-if="info.g8" v-model="info.h8"></el-input>
            </td>
            <td>
              <el-checkbox v-model="info.g9" value="其他">其他</el-checkbox>
              <br />
              <el-input size="small" v-if="info.g9" v-model="info.h9"></el-input>
            </td>
          </tr>
        </table>
      </div>
      <div class="box">
        <span>随访医生：</span>
        <el-select
          filterable
          placeholder="请选择随访医生"
          size="small"
          style="width: 200px"
        >
          <el-option
            v-for="item in options"
            :key="item.value"
            :label="item.label"
            :value="item.value"
          >
          </el-option>
        </el-select>
        <el-select
          filterable
          placeholder="请选择随访医生"
          size="small"
          style="width: 200px; margin-left: 20px"
        >
          <el-option
            v-for="item in options"
            :key="item.value"
            :label="item.label"
            :value="item.value"
          >
          </el-option>
        </el-select>
      </div>
      <div class="box">
        <span>填表日期：</span>
        <el-date-picker
          v-model="value2"
          align="right"
          type="date"
          placeholder="选择日期"
          :picker-options="pickerOptions"
          size="small"
        >
        </el-date-picker>
      </div>
      <div class="box">
          <span>随访照片：</span>
          <el-button icon="el-icon-upload2" type="primary" style="background-color: #fff;color: rgb(46,160,254);" size="small" plain>本地上传文件</el-button>
          <el-button icon="el-icon-picture-outline" type="primary" style="background-color: #fff;color: rgb(46,160,254);" size="small" plain>加载手机图片</el-button>
          <p>扫描二维码，在手机端点击"上传"图片，在手机端上传后，点击上方"加载手机照片"按钮，即可同步到电脑端</p>
          <div>
              <img style="width: 100px;" src="http://8.218.107.5:9992/media/base/zhengjian/qrcode/16863931874Q68253F.png" alt="">
              <img style="width: 100px;margin-left: 20px;" src="http://8.218.107.5:9992/media/base/zhengjian/qrcode/16863931874Q68253F.png" alt="">
          </div>
      </div>
    </div>
  </template>
  
  <script>
  export default {
    data() {
      return {
        info: {},
        options: [
          {
            value: "测试",
            label: "测试",
          },
        ],
        pickerOptions: {
          disabledDate(time) {
            return time.getTime() > Date.now();
          },
          shortcuts: [
            {
              text: "今天",
              onClick(picker) {
                picker.$emit("pick", new Date());
              },
            },
          ],
        },
        value2: "",
      };
    },
    methods: {
    btn_ok() {
      var url = this.info.id
        ? "/diabetesServiceVisit/modify"
        : "/diabetesServiceVisit/add";
      this.info.symptom = this.info.symptom.toString();
      this.info.signFootArterial = this.info.signFootArterial.toString();
      this.info.insulinCount = this.info.insulinCount.toString();
      var date = new Date();
      this.info.id
        ? (this.info.updatetime = date)
        : (this.info.createtime = date);
      this.$post(url, this.info).then((res) => {
        if (res.code == 400) {
          this.$message({
            message: res.message,
            type: "error",
          });
          return;
        }
        this.$message({
          message: "操作成功",
          type: "success",
        });
      });
    },
    getInfo(item) {
      this.isLoading = true;
      this.info = item;
      this.isLoading = false;
    },
    clear_info() {
      this.info = {
        hospitalId: "3015",
        idNo: localStorage.getItem('idCard'),
        residentName: "测试患者",
        symptom: [],
        signFootArterial: [],
        diabetesServiceChildList: [{}],
        insulinCount: [],
      };
    },
  },
  };
  </script>
  
  <style scoped lang="scss">
  .lnrzyyjkfw {
    .top {
      padding: 10px 20px;
      background-color: #e6f7ff;
      border: 1px solid #91d5ff;
    }
    .tab1 {
      tr {
        width: 100%;
        th {
          text-align: center;
          color: #000;
          background-color: rgb(250, 250, 250);
        }
        td {
          padding: 10px;
        }
      }
    }
    .box {
      padding: 10px 250px;
      background-color: rgb(250, 250, 250);
      margin: 10px 0;
    }
  }
  </style>